package com.youedata.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by gaozixin on 2017/6/28.
 */
@Controller
public class SolrTestController {
    @RequestMapping("/")
    @ResponseBody
    public String home(){
         return "welcome !";
    }

    @RequestMapping("/test/solr")
    public String index(HttpServletRequest request, HttpServletResponse response){
        return "index";
    }

}
